package com.dingli.entity;

public class Ticket {
    private String ticketName;
    private String startPlace;
    private String endPlace;
    private double price;

    public Ticket(){}

    public Ticket(String ticketName, String startPlace, String endPlace, double price) {
        this.ticketName = ticketName;
        this.startPlace = startPlace;
        this.endPlace = endPlace;
        this.price = price;
    }

    public String getTicketName() {
        return ticketName;
    }

    public void setTicketName(String ticketName) {
        this.ticketName = ticketName;
    }

    public String getStartPlace() {
        return startPlace;
    }

    public void setStartPlace(String startPlace) {
        this.startPlace = startPlace;
    }

    public String getEndPlace() {
        return endPlace;
    }

    public void setEndPlace(String endPlace) {
        this.endPlace = endPlace;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
